Assessment Keywords

TPT provides keywords such as if and else. These are Python keywords. For further information, see the Python documentation 2.7.

The keywords during and otherwise are TPT-specific keywords.

Keywords are only available in script and can thus be used in the Assesslet Types - Script, the Assessment Library, and in the Test Environment Settings - Custom Script Execution.

The following keywords are available in TPT:

and false pass
array finally print
as for raise
assert from result
break global return
class if self
continue import struct
def in t
del is this
during lambda true
elif none try
else not while
except or with
exec otherwise yield